package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.domain.SysScarify;
import com.zhentao.domain.dto.PageDto;
import com.zhentao.service.SysScarifyService;
import com.zhentao.mapper.SysScarifyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 86186
* @description 针对表【sys_scarify】的数据库操作Service实现
* @createDate 2024-09-08 15:47:22
*/
@Service
public class SysScarifyServiceImpl extends ServiceImpl<SysScarifyMapper, SysScarify>
    implements SysScarifyService{
    //换电柜用户消费记录
    @Override
    public Page<SysScarify> getScarifyList(PageDto pageDto) {
        Page<SysScarify> page = new Page<>(pageDto.getPage(), pageDto.getSize());
        this.page(page);
        return page;
    }

}




